package com.luoye.lj.platform.controller.log;

import com.luoye.lj.util.mvc.log.DescriptionGeneratorAdapter;

import java.util.Map;

/**
 * Created by wuhao on 16-3-28.
 *
 * 执行了操作【系统级别的角色删除】,参数是：{"roleId":["8"]}
 * */
public class RoleDeleteGenerator extends DescriptionGeneratorAdapter {
    @Override
    public String generate(String name, Map parameterMap) {
        String str = "";
        String roleId = ((String[]) parameterMap.get("rolename"))[0];
        str += "修改了角色，id是【"+roleId+"】";
        return str;

    }
}
